import { HTTP } from "@/utils/axios";

// 志愿者列表
export const GetVolunteer = data => HTTP(`/volunteer`, data);

// 审核志愿者
export const DoVolunteer = data => HTTP(`/doVolunteer`, data);

// 机构列表
export const GetOrganization = data => HTTP(`/organization`, data);

// 审核机构
export const DoOrganization = data => HTTP(`/doOrganization`, data);

// 商家列表
export const GetStore = data => HTTP(`/store`, data);

// 审核商家
export const DoStore = data => HTTP(`/doStore`, data);

// 投诉管理
export const GetComplain = data => HTTP(`/complain`, data);

// 星人群
export const GetStar = data => HTTP(`/star`, data);

// 添加星人群
export const SaveStar = data => HTTP(`/addStar`, data);

// 删除星人群
export const DeleteStar = data => HTTP(`/deleteStar`, data);

// 商品列表
export const GetGoods = data => HTTP(`/goods`, data);

// 审核商品
export const DoGoods = data => HTTP(`/doGoods`, data);

// 活动列表
export const GetActivity = data => HTTP(`/activity`, data);

// 审核活动
export const DoActivity = data => HTTP(`/doActivity`, data);

// Banner列表
export const GetBanner = data => HTTP(`/banner`, data);

// 添加Banner
export const SaveBanner = data => HTTP(`/addBanner`, data);

// 删除Banner
export const DeleteBanner = data => HTTP(`/deleteBanner`, data);
